home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
IRIX Base Documentation 1998 November
/
IRIX 6.5.2 Base Documentation November 1998.img
/
usr
/
share
/
catman
/
p_man
/
cat3
/
Xm
/
XmCreateSelectionDialog.z
/
XmCreateSelectionDialog
Wrap
Text File
|
1998-10-30
|
5KB
|
133 lines
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
NNNNAAAAMMMMEEEE
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg - The SelectionBox SelectionDialog
convenience creation function
SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
#include <Xm/SelectioB.h>
WWWWiiiiddddggggeeeetttt XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg(
WWWWiiiiddddggggeeeetttt ppppaaaarrrreeeennnntttt,
SSSSttttrrrriiiinnnngggg nnnnaaaammmmeeee,
AAAArrrrggggLLLLiiiisssstttt aaaarrrrgggglllliiiisssstttt,
CCCCaaaarrrrddddiiiinnnnaaaallll aaaarrrrggggccccoooouuuunnnntttt);
VVVVEEEERRRRSSSSIIIIOOOONNNN
This page documents Motif 2.1.
DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg is a convenience creation function
that creates a DialogShell and an unmanaged SelectionBox
child of the DialogShell. A SelectionDialog offers the user
a choice from a list of alternatives and gets a selection.
It includes the following:
+o A scrolling list of alternatives
+o An editable text field for the selected alternative
+o Labels for the text field
+o Four buttons
The default button labels are _O_K, CCCCaaaannnncccceeeellll, AAAAppppppppllllyyyy, and HHHHeeeellllpppp.
One additional WWWWoooorrrrkkkkAAAArrrreeeeaaaa child may be added to the
SelectionBox after creation.
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg forces the value of the SelectionBox
resource XXXXmmmmNNNNddddiiiiaaaallllooooggggTTTTyyyyppppeeee to XXXXmmmmDDDDIIIIAAAALLLLOOOOGGGG____SSSSEEEELLLLEEEECCCCTTTTIIIIOOOONNNN.
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg forces the value of the Shell
resource XXXXmmmmNNNNaaaalllllllloooowwwwSSSShhhheeeellllllllRRRReeeessssiiiizzzzeeee to True.
Use XXXXttttMMMMaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd to pop up the SelectionDialog (passing the
SelectionBox as the widget parameter); use XXXXttttUUUUnnnnmmmmaaaannnnaaaaggggeeeeCCCChhhhiiiilllldddd
to pop it down.
_p_a_r_e_n_t Specifies the parent widget ID
_n_a_m_e Specifies the name of the created widget
_a_r_g_l_i_s_t Specifies the argument list
_a_r_g_c_o_u_n_t Specifies the number of attribute/value pairs in
the argument list (_a_r_g_l_i_s_t)
Page 1 (printed 10/24/98)
XXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVVXXXXmmmmCCCCrrrreeeeaaaatttteeeeSSSSeeeelllleeeeccccttttiiiioooonnnnDDDDiiiiaaaalllloooogggg((((3333XXXX))))
For a complete definition of SelectionBox and its associated
resources, see XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
RRRREEEETTTTUUUURRRRNNNN
Returns the SelectionBox widget ID.
RRRREEEELLLLAAAATTTTEEEEDDDD
XXXXmmmmSSSSeeeelllleeeeccccttttiiiioooonnnnBBBBooooxxxx(3).
Page 2 (printed 10/24/98)